package com.wp.algorithm.a0_review.code;

/**
 * @author wangpeng
 * @description ******
 * @date 2021/11/19 10:34
 */
public class MyQueue<E> {
    private E[] data;
    private int front,rear;

    private static final int defaultCapacity = 10;

    public MyQueue (){
        this(defaultCapacity);
    }

    public MyQueue (int innitCapacity) {
        if(innitCapacity<=defaultCapacity){
            innitCapacity = defaultCapacity;
        }
        data = (E[]) new Object[innitCapacity];
    }

    private void add () {




    }

    private void del () {

    }

}
